package com.kawa.kemanage.mapper;

import com.kawa.kemanage.entity.ViolatedContent;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface ViolatedContentMapper {
    List<ViolatedContent> search(
            String contentId,
            String violationType,
            String handleStatus,
            LocalDate startDate,   // 新增
            LocalDate endDate      // 新增
    );
    void markAsHandled(Long id);
}